home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 36
/
PC Gamer IT CD 36 2-2.iso
/
SINDEMO
/
sindemo2.exe
/
data
/
base
/
pak0.pak
/
models
/
view_magnum.def
< prev
next >
Wrap
Text File
|
1998-09-22
|
2KB
|
60 lines
SDEF
//
// The file declaration section
//
path models/magnum
origin 0 10 0
scale 1.0
magnum_base.sbm
magnum_base.tga
//
// Declare the animation types and files
//
ready1 magnum_ready.SAM
fire1 magnum_fire.SAM
silfire1 magnum_fire.SAM
idle1 magnum_idle1.SAM
idle2 magnum_idle2.SAM
reload1 magnum_load.SAM
putaway1 magnum_putaway.SAM
//
// Define model group areas
//
id 200 group weapon bone barrel 0 180 65
//
// The initialization section
//
!init:
//
// Define the animation sound references
//
client aliasprefix Magnum_
client aliascache snd_fire1 "weapons/magnum/fire3.wav"
client aliascache snd_silfire1 "weapons/magnum/silshot.wav"
client aliascache snd_reload1 "weapons/magnum/reload1.wav"
//
// The main section
//
!main:
//
// Define the client/server animation references
//
client fire1 first randomsound snd_fire 1
client fire1 first attach barrel sprites/gunblast.spr time 0.15 scale 0.4 origin 10 0 -10 alphafade
client fire1 first shootbullets 1 10 10 10
// dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
client fire1 first dlight 1 0 0.4 0 0 0 200 0 0.6 0.7
server fire1 first weaponsound
server fire1 first shoot
// Silenced weapon fire
client silfire1 first randomsound snd_silfire .6 1
client silfire1 first shootbullets 1 10 10 10
server silfire1 first movementsound
server silfire1 first shoot
//Reload
client reload1 first randomsound snd_reload 1 7